package com.ynet.middleground.riskmanage.bean.hangxin;

import javax.validation.constraints.NotEmpty;
import javax.xml.bind.annotation.*;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.ynet.core.common.BaseReqObj;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author liwq
 * @description 云盒子库存查询请求信息
 * @date 2021-11-05 16:04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "云盒子库存查询请求信息", description = "云盒子库存查询请求信息")
public class YkccxReq extends BaseReqObj {

    private static final long serialVersionUID = -841106632673040450L;

    @XStreamAlias("NSRSBH")
    @ApiModelProperty(value = "纳税人识别号", notes = "纳税人识别号", required = true)
    @NotEmpty(message = "纳税人识别号不能为空")
    private String nsrsbh;

    @ApiModelProperty(value = "分机号", notes = "分机号", required = true)
    @NotEmpty(message = "分机号不能为空")
    @XStreamAlias("FJH")
    private String fjh;

    @ApiModelProperty(value = "发票种类(为空时返回所有种类票卷0:专票2:普票41:卷票51：电票)", notes = "发票种类(为空时返回所有种类票卷0:专票2:普票41:卷票51：电票)")
    @XStreamAlias("FPZL")
    private String fpzl;
}
